﻿using System;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;
using System.Collections.ObjectModel;
using System.Collections.Generic;

namespace V2TEK.NET.SH.Silverlight.Charts.Core
{
    public interface IHierarchicalData<T> where T : IHierarchicalData<T>
    {
        T Parent { get; set; }
        int Level { get; set; }
        ObservableCollection<T> Children { get; set; }

        object DataSource { get; set; }

        ObservableCollection<T> RecurToList();
    }
}
